/*********************************************************************
	Rhapsody	: 7.5.2
	Login		: piotrek
	Component	: DefaultComponent
	Configuration 	: DefaultConfig
	Model Element	: ElevatorCab
//!	Generated Date	: Tue, 23, Nov 2010 
	File Path	: DefaultComponent/DefaultConfig/enterpriseenhancedelevatorsystem/ElevatorCab.java
*********************************************************************/

package enterpriseenhancedelevatorsystem;


//----------------------------------------------------------------------------
// enterpriseenhancedelevatorsystem/ElevatorCab.java                                                                  
//----------------------------------------------------------------------------

//## package enterpriseenhancedelevatorsystem 


//## class ElevatorCab 
public class ElevatorCab {
    
    protected AdditionalPanel itsAdditionalPanel_2;		//## link itsAdditionalPanel_2 
    
    protected NumericPanel itsNumericPanel_1;		//## link itsNumericPanel_1 
    
    
    // Constructors
    
    //## auto_generated 
    public  ElevatorCab() {
        initRelations();
    }
    
    //## operation getCurrentFloor() 
    public int getCurrentFloor() {
        //#[ operation getCurrentFloor() 
        //#]
    }
    
    //## auto_generated 
    public AdditionalPanel getItsAdditionalPanel_2() {
        return itsAdditionalPanel_2;
    }
    
    //## auto_generated 
    public void __setItsAdditionalPanel_2(AdditionalPanel p_AdditionalPanel) {
        itsAdditionalPanel_2 = p_AdditionalPanel;
    }
    
    //## auto_generated 
    public void _setItsAdditionalPanel_2(AdditionalPanel p_AdditionalPanel) {
        if(itsAdditionalPanel_2 != null)
            {
                itsAdditionalPanel_2.__setItsElevatorCab_2(null);
            }
        __setItsAdditionalPanel_2(p_AdditionalPanel);
    }
    
    //## auto_generated 
    public AdditionalPanel newItsAdditionalPanel_2() {
        itsAdditionalPanel_2 = new AdditionalPanel();
        itsAdditionalPanel_2._setItsElevatorCab_2(this);
        return itsAdditionalPanel_2;
    }
    
    //## auto_generated 
    public void deleteItsAdditionalPanel_2() {
        itsAdditionalPanel_2.__setItsElevatorCab_2(null);
        itsAdditionalPanel_2=null;
    }
    
    //## auto_generated 
    public NumericPanel getItsNumericPanel_1() {
        return itsNumericPanel_1;
    }
    
    //## auto_generated 
    public void __setItsNumericPanel_1(NumericPanel p_NumericPanel) {
        itsNumericPanel_1 = p_NumericPanel;
    }
    
    //## auto_generated 
    public void _setItsNumericPanel_1(NumericPanel p_NumericPanel) {
        if(itsNumericPanel_1 != null)
            {
                itsNumericPanel_1.__setItsElevatorCab_1(null);
            }
        __setItsNumericPanel_1(p_NumericPanel);
    }
    
    //## auto_generated 
    public NumericPanel newItsNumericPanel_1() {
        itsNumericPanel_1 = new NumericPanel();
        itsNumericPanel_1._setItsElevatorCab_1(this);
        return itsNumericPanel_1;
    }
    
    //## auto_generated 
    public void deleteItsNumericPanel_1() {
        itsNumericPanel_1.__setItsElevatorCab_1(null);
        itsNumericPanel_1=null;
    }
    
    //## auto_generated 
    protected void initRelations() {
        itsAdditionalPanel_2 = newItsAdditionalPanel_2();
        itsNumericPanel_1 = newItsNumericPanel_1();
    }
    
}
/*********************************************************************
	File Path	: DefaultComponent/DefaultConfig/enterpriseenhancedelevatorsystem/ElevatorCab.java
*********************************************************************/

